import Vue from 'vue'
import VueRouter from 'vue-router'

// 导入相组件
import Todo from '@/views/Day/Day3/views/Todo/Todo.vue'
import Counts from '@/views/Day/Day3/views/Count/counts.vue'
import Shopp from '@/views/Day/Day3/views/Shopp/Shopp.vue'
import Maidian from '@/views/Day/Day3/views/Maidian/Maidian.vue'
import Sell from '@/views/Day/Day3/views/Sell/Sell.vue'

Vue.use(VueRouter)

export default [
  // 案例 Todos
  { path: 'todo', component: Todo },
  // 做数学题
  { path: 'counts', component: Counts },
  // 购物车
  { path: 'shopp', component: Shopp },
  // 买点好吃的
  { path: 'maidian', component: Maidian },
  // 卖完了
  { path: 'sell', component: Sell }
]
